package com.atguigu.gmall.gateway.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author 卡尼奶
 * @Date 2022/5/31 18:32
 * @Version 1.0
 */
@ConfigurationProperties(prefix = "app.auth")
@Component
@Data
public class AuthProperties {
    private List<String> anyoneurls;

    private List<String> declineurls;

    private List<String> authurls;

    private String loginurl;
}
